package com.example.clock_demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "登录响应")
public class LoginResponse {
    
    @ApiModelProperty(value = "访问令牌")
    private String token;
    
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    
    @ApiModelProperty(value = "用户名")
    private String username;
    
    @ApiModelProperty(value = "真实姓名")
    private String realName;
    
    @ApiModelProperty(value = "角色")
    private String role;
    
    @ApiModelProperty(value = "员工编号")
    private String employeeNo;
    
    @ApiModelProperty(value = "部门")
    private String department;
    
    @ApiModelProperty(value = "班组")
    private String team;
}